{extend name="public/base"}

{block name="title"}
用户中心
{/block}

{block name="style"}
{css href="/static/wechat/css/message.css" /}
{/block}

{block name="body"}
<div class="msui_nav msui_navTop">
    <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
    <h1 class="msui_navTop-title">消息</h1>
</div>
<!--
    作者：769419833@qq.com
    时间：2017-01-13
    描述：消息列表
-->
<ul>
    <li class="li_heig">
        <div>
            <a href="{:url('msg_list', ['msg_type' => 1, 'type' => $type])}">
                <i class="icon_"></i>
                <div class="two_messages">
                    <h2>系统消息</h2>
                    <span>{gt name="data.sys_count" value="0"}您有{$data.sys_count}条新的系统消息 {else /} 暂无新消息 {/gt}</span>
                </div>
                {gt name="$data.sys_time" value="0"}
                <span class="message_data">{$data.sys_time|date="Y-m-d", ###}</span>
                {/gt}
            </a>
        </div>
    </li>

    <li class="li_heig">
        <div>
            <a href="{:url('msg_list', ['msg_type' => 2, 'type' => $type])}">
                <i class="icon2"></i>
                <div class="two_messages">
                    <h2>订单消息</h2>
                    <span>{gt name="data.order_count" value="0"}您有{$data.order_count}条新的订单消息 {else /} 暂无新消息 {/gt}</span>
                </div>
                {gt name="$data.order_time" value="0"}
                <span class="message_data">{$data.order_time|date="Y-m-d", ###}</span>
                {/gt}
            </a>
        </div>
    </li>
</ul>
{/block}
